Hi @locomo
Thanks for clarifying. In short, yes.
Just checkout the core/controllers/post.php file and you will all the code to render a field group.
The current api is all filter based, but in v5, there will be an array of powerful functions instead which will be much nicer to use.
Thanks
E