Right on. I'm working on a contract like that right now, and our "lead developer", so to speak, is doing exactly this (i.e., do BDUF, write the framework first, and I'll get to your application when I get to it). The money quote that really stood out to me:
Frameworks are better harvested from several applications
that ended up using similar patterns.