Assuming you mean the front end only, then yes. The APIs aren't static and must be hosted accordingly. But the SPA can be hosted static.
Our production SaaS in Azure has about 20 Static Web Apps (a mix of Angular and Vue) being serviced by APIs in a mix of Containers and Web Services.
We do this to allow different client specific SPAs to share APIs.
If it was a one-to-one of SPA / API, it wouldn't make as much sense for our needs.
Another reason to keep the SPA and API separate is deployment. It may cost sightly more in hosting, but if you're updating one app much more often than the other then it might be OK. There would be arguably less deployment overhead by only deploying either the APP or API when needed.
Bottomline is just because you can doesn't always mean you should. For our business case the answer was yes. Yours might be different.