There’s no reason why not. Most site builders have SEO-boosting features of some kind built in, because they all want you to grow your audience, and stay on their particular service. Your SEO might improve a bit when you buy your own custom domain name, but otherwise, I see no real difference. Writing good content is the hard part of good SEO anyway.