Upvote:2
The dimensions of the lockers are as follows.
(https://community.bahn.de/questions/1582543-schliessfacher-frankfurt-hauptbahnhof-aktuelle-preise - please note that this information is from 2018)
If your bags can be arranged into that volume, then you should be fine.