I think I have what I was looking for with this:
alias p='stty -echo ; xdotool type "sudo eopkg up" ; stty echo'
user@machine ~ $ p
user@machine ~ $ sudo eopkg up
After calling the alias I am able to modify the command retrieved 😃
I am thinking this usage of alias could be a good way to teach solus newbies to update their solus machines without the software center gui. They could learn the whole command eventually after seeing this over and over again and not just be dependent on a regular alias.