As the previous poster pointed out, most higher end neighborhoods require landscaping approval, hence you likely really are in violation unless the playhouse is so small it’s readily movable by a single person.
In the back yard? So long as it’s kept clean and free of nuisances (say stagnant water in a pool that’s breeding insects or old food that’s attracting vermin), I don’t get why it should be an HOA issue.