Of course not, it is legal to get help from a thesis writing service. However, your professor won’t like it if you do so.