Yes, you can use both, but the second one is preferable. You could also combine them and use "That's the worst thing you can do to anyone". You could also use "could" instead of "can" depending on the context.
I hope it helps :)
November 25, 2017
Still haven’t found your answers?
Write down your questions and let the native speakers help you!