It is possible by sending only keys, but I noticed some annoying delay in the movement which lead, if abused right that the client entitiy got arround a cornor but the server entity didnt.
Also the gameplay felt kinda strange as client because hitboxes were managed by the server, so I changed the code to a simple UDP packet pos updating together with keypresses which works fantastic laugh