Can my work legally do this?

and you got your answer they cant force you to unless you dont care about your job, you can say no to anything you want you just wont be working there anymore.