If a subdomain from a hosting provider works for your use case, then there’s nothing wrong with that.
I have 10 years of experience making websites for a living for huge tech companies, and even then I still use ec2-[hash].compute-1.amazonaws.com as the domain name for a gaming website I run for just my friends.
If you don’t care about professionalism or SEO then its fine.