Welcome to the forum! Thanks for participating.
Buying an established business is an excellent idea, you won't have to worry about all the red tape associate with getting permits and licenses. Often you can purchase the shares of the corporation which can make things really easy if you take precautions.
On this site is an article about what you need to check for when you buy an existing business.
How to buy an existing business in Costa RicaIf you have any further questions, don't hesitate to drop by again!