Wondering if it's possible with a custom module or something?

We want to create a suite dashlet for the most pressing filings, as in filings which are soon to hit deadlines.

At the moment we are just using the accounts database with some custom fields added

Is there a way to have the dashlet only show posts which are within 3 months either side of the current date $TODAY for Deadline?