Indeed it's pretty easy to digitally sign electronic documents in my country. I do wonder though if it's also possible to digitally sign my own generated documents (pdf, docx, stuff like that).
https://www.dokobit.com/ integrates with identity systems in a few European countries, and produces digitally signed documents that are legally binding.