Server-sided or client-sided? The server can't force the client to input console commands, but sometimes there are ways to emulate the effects server-sidedly.
For walking, there's no explicit "%player.walk(true);" method, but I'm pretty sure you can control the player with an AIConnection or temporarily replace them with an AIPlayer, but I haven't dealt with that in awhile.