Self Service Reports and C# or VB

I am considering the use of Self Service Reports to present information that requires the upwards (where used) and downwards traversing of a Bill of Materials. The documentation for Self Service Reports only describes the use of simple AML queries to request the data from the ARAS database. I wish to use the Self Service Reports as the presentation layer, as it is requirement to honor the ARAS security model for the BOM traverse. Can VB or C# program be used to prepare an AML like XML response for reporting using the Self Service Reports GUI?