If you’re referring to THE “ToonTown”, as in the Disney property, then yes you would have plenty of legal pitfalls. Not to mention it’s Disney, so where as some game developers might or might not pursue you over a fan game, Disney definitely will.
Legally it doesn’t matter at all what the property is. If it was originally owned/made by someone else, you’ll need to seek permissions or risk being shut down.