Yes, I do exactly this, though I use sendmail. Mail for two of my domains is forwarded to my home server for local delivery, while mail for other domains is placed in mailboxes on the server itself.
In sendmail, I use a "mailertable" to route mail to different locations depending on the domain name. I presume Postfix has a similar facility, but my knowlege of that program is rudimentary at best. The mailertable has a pretty easy syntax:
That routes mail for "example.com" to mail.example.com for further processing and delivery. Mail for "domain.name" is sent to a server identified solely by its IP address. The square brackets around the addresses are mandatory; see the linked document for details.