If the listing agent or buyers agent has any interest of ownership in the property is must be disclosed. As long as they disclose owner/agent then no wrong is done.
This is no different then an agent selling his or her own house and collecting the commission and getting paid all the profits.... or a divorced agent splitting the profit with the ex.
If you're buying that sort of property, their profit structure really shouldn't matter to you. Clearly the listing agent is going to get paid - either commission or profit.
The bigger legal issues to check are to make sure all outstanding liens are addressed, and that you have a thorough inspection so you KNOW what permit issues there are. This is Miami, and I would guess that at least HALF the single family homes have code "issues." They range from the minor (like window grates) to the unbelievable (I saw one place where they added about 3000 square feet to a 1000 square foot structure, the whole place needed to be torn down).
Caveat Emptor - Let the Buyer beware
Keyes Real Estate
Good question to clear up first with your managing broker, then possibly with an attorney. As a principle to the investment, and a licensed agent, disclosure of your dual relationship is highly encouraged, if not required. Go above board and clear everything before you get in too deep. Your license and reputation could be at risk.