yes it is. however it requires setup.
there is no command in the game that allows you to do something like this but we have function files in minecraft. if you already have a command that teleports you there you can make a function file with that teleport command in it and when you run it via /function you will teleport.

however this requires a lot of time and effort to compared to copying the command from a notepad and only shaves off a few characters from the command.

however if you do want to attempt it 3rd party documentation for minecraft behaviour is available [here][1]


  [1]: https://minecraft.wiki/w/Add-on