Not without a script – which is beyond my capabilities. I don’t know how in a shell script I would get the current filename. Then in a Templater js one may need filesystem permissions (or one could work with Obsidian API). Some wizard could chip in or you could get the input of a chat robot (don’t try the 3.5 free versions, they suck; you need a robot that knows about Obsidian API).
Actually, I think all scripts that can be reused should be put in Share&Showcase and then linked to the Help thread.
This request/job will be a recurring one so we should have a script or two for it.