You sure can!
I last did this ~7 years ago. (I can't believe it's been that long!!!)
I just uploaded the solution I created back then to my github.com repositories:
https://github.com/AlexFielder/InventorRibbonCmds
Please bear in mind that this was created before the "youraddinname.addin" functionality was added to Inventor so it probably won't run without substantial amendments but the forms and everything else should still function correctly; obviously, the database it connected to doesn't exist any more either so you'd need your own connection string such as this:
<Connection Mode="AppSettings" ConnectionString="Data Source=YOURSERVERNAME;Initial Catalog=DWGDetails;Integrated Security=True" SettingsObjectName="NewRibbonCmds.My.MySettings" SettingsPropertyName="DWGDetailsConnectionString1" Provider="System.Data.SqlClient" />
I used this to help us when filling out drawing border properties and had a number of the textboxes on our userform set to autocomplete from values in the database. It's a bit of a shame we never used it for more than a few months really.
I've been trying to see if I kept a copy of the table structure in .sql format but haven't had any luck so far.
Cheers,
Alex.