I assume that you want to use a Wi-Fi connection between the Time Capsule and AirPort Extreme, correct?
In that case, sure. Set up the Time Capsule and then manually turn off the 2.4 GHz signal on the Time Capsule.
Then set up AirPort Extreme normally. The default setup for the Extreme will be 5/2, so all that you will have to do is set up the AirPort Extreme the normal way to "Extend a wireless network".
Most Wi-Fi devices will connect to a 5/2 dual band network, but if you have some finicky Wi-Fi devices, they may not like the dual band 5/2 signal. You won't know until you try.
The security cameras, home theater controller, garage door opener here all have no trouble connecting to a dual band network, even though the manuals specify that the network must be 2.4 GHz.