No. Membership in Free Realms had to be purchased; there was no legitimate way to obtain it at no cost.
Free Realms was built on a free-to-play foundation — you could play the base game indefinitely — with membership unlocking additional classes, areas, and quest lines. That model is exactly why free membership did not exist: the paid tier was the product.
Offers circulating online for "free membership codes" were scams, and the game itself was eventually shut down, which makes any such page doubly worthless. If you are looking for a similar experience today, plenty of free-to-play MMOs offer their full content without a subscription, supported instead by cosmetic sales.