If you want to do that, you can set many keyboards up to do exactly that. They just need to run the standard software - QMK, ZMK or Vial. You'll need to pick a keyboard with enough keys, of course, but there is plenty of choice. However there are other ways of solving the problem, e.g. a single key that is mapped to produce that combination. It's a matter of taste and experiment, and there is no reason for you to do it the same way as anyone else.