Yes, there is a console built into renpy, the game's engine, with commands like what you're looking for. You have to enable it in the config files before you can use it. Details can be found on the wiki, here.