I work using wordpress and I've been working like this practically my entire career. I use programs like winscp to edit code directly in production over ftp or scp. If the site goes down, well, boo hoo.
A way of avoiding problems or hiding new features that are currently in development is wrapping the code in... if server remote addr == my ip... do this... else do nothing. Works fine!