Texas has some laws about that, because lawmakers have golf carts. I believe you can in a planned community with county roads, and it has to do with the maximum speed capable of 25 mph. (Best I can remember.)
Anyway, if it is a private park without county roads then it depends on the park.
Having said that, there isn't one park I've been in that didn't have golf carts.