1) There's a wiki page on
custom output that covers what's available in FFF. Just be careful changing chapter_start, you can break parts of epub update if you remove/change the metadata tags.
2) You could do that in FFF with replace_metadata, but it's complicated. If you want it specifically for cover generation and you know how to do Calibre template language already that may be easier.