Super capacitor to replace RTC coin battery?

Some RTCs have built-in battery charging circuits, perhaps a super capacitor can be substituted.