All subdomains to the page

Hey. Is it possible to setup Cloudflare pages to show same page both on the domain and all subdomains?

foo.bar, 1.foo.bar, 2.foo.bar etc should show the same page

Add them all as domains to the Pages project and they’ll all serve the same content.

Yeah, but i need hundreds of them. It’s too much of work