lemmy doesn’t really have a TOS afaik (and even if the software had something in its license, it’s the fediverse: people can interact with you on lemmy without using lemmy!). your instance might, but other instances might have totally different rules… there’s nothing stopping a just-ads-lemmy.com instance, other than it’d probably get defederated pretty quick