Flight statistics

These days with all the new rules and regulations, one of the requirements is to have a written flight log.

Would it be possible to have, at the end of a flight, an automatic summary flight log generated with the push of a button?

The content could be:

Start location (maybe with Google maps pic?)
Date and time stamp
Take off time
Flying time, distance, altitude, etc
Number of pictures (if applicable)
Landing time
Flight time and distance

And other relevant data.

Would this be possible?