I was in same situation around a year back. Then I thought just coding will not give me financial freedom to do whatever I want and started my own tech company. It's been a great year I had lots of new experience, learning and making money as well.
Consider creating some products in your free time preferably in your domain to start with.
Connect me tapesh at vitallabs.in if you need any specific details on how to transition from engineer to entrepreneur.
I am not offering any time & material cost model here which is typical outsourcing model. I will connect you with some really talented developers who would be equally passionate in your idea and they will not be on my company's payroll.
It all depends on what kind of startup you want to do. Some startup are capital intensive and some are not. In startup, You need money to do some activities. Find people who can do those activity and partner with them. There are also so many outsourcing avenues available to outsource activities at very low cost.
you can take some part time consulting assignments to pay your bills.