I do a bunch of this, in a set of messy Python scripts that need refactoring, for personal use. It's definitely largely doable, but not without it's challenges for some services. Thankfully, at a personal level, I can choose not to use those services and move to something that is more open.