I know everybody is not in a same class but still we all do budgeting, expenses and impulse. How much do spend a day? Do you think is possible to program your daily expenses?
I mean are you asking in general? Short answer is- yes it is possible to program your daily expenses.
This kind of activity involves proper financial planning in order to keep track of your income and expenses for your investments. As a general rule, you should always spend less than what you earn and avoid applying for credits on unnecessary items. Focus on prioritizing activities that provide various benefits to your health, as well as to your entertainment as well.
If you have any excess money, then consider investing a portion of your income in various investment mechanisms (e.g. stocks, crypto, etc.) to diversify your portfolio.
At the end of the day, proper planning on your financials is the key in order to maintain a work-life balance without having to stress on unnecessary expenses while maintaining a proper investment pool.