Portal functionality in theme

Is it possible to replicate portal functionality directly in the theme’s code?

I know you can for the most part, but I cannot see anything in the docs regarding:

  • Updating email address
  • Updating name
  • Toggling newsletter subscription status

Is this possible currently or will it be possible in a future update, please?