Can you file business expenses and taxes if you do not have a business license such as an LLC or sole proprietorship?

I am looking into getting a business licenses but can I still claim all my years taxes from before I got the official licenses? Also, if I do not have a business license can I still claim taxes for it?