Yes! of course it is possible to do the SEO for a single page website. But, these are some factors you might face!
1) Page loading speed (Single page websites are often built on front-end frameworks like angular or Vue so page loading speed might be slow)
2) # URL - Google does not like hash tags in the URL so, do not target pages with hash tags