Is there a limit to how many functions a site may have?

Are you talking about Netlify (Serverless) Functions? It’s not possible to dynamically generate those without having a full re-deploy.

But there’s no limit to number of functions, just the pricing is based on invocation count.