Yes, this should be possible because all the data from the repository like document names, paths, and metadata (everything but the actual files), and everything in Forms, is just data in an MSSQL database, it’s just a matter of connecting Tableau to those databases and determining the queries you want it to run to get the data (which is the hard part).
We do similar with Microsoft Power BI, which is a similar tool to Tableau.
I would recommend, rather than queries directly to the Forms and/or Repository databases, that you setup your own database, with tables of all the data you want to report on, and have Forms call a workflow to insert/update records in that database as it moves through the process and/or just before/after it archives the form to the repository. That way there isn’t any confusion about which data to use, you have control of the structure, and don’t have to worry about any of the structure changing in future upgrades.