You can start with your own domain and forward to your gmail. Do regular takeouts and you are then effectively using gmail as a reader and can dump it when needed (or if they dump you it will be less painful!)
The other problem is that self-hosted email is far more likely to go to spam. I have some accounts set up with gmail only because otherwise they will never get delivered.