Can I create Transaction Groups through Java?

I may be stretching Ignitions abilities here but in the spirit of ‘Dream it, Do it’ I was wondering if this is possible. I would like to be able to access the transaction groups and create/edit them from my module. This would be much easier then storing SQL scripts to create tables/columns and store data in the database.