I do something like that using org mode in termux. It has really improved my note taking and personal information management. I do my workout logs, nutrition logs, language study, work task management, agenda, all in the same environment, and the format is open. Versioning and syncing is done with git.
org-mode is without a doubt the most comprehensive and powerful note taking software that exists today. It's so good that even non-emacs users should give it a go.