example.com/hoge?a=b

routing.ymlで
example.com/hoge/a_b
という風にすることってできないですかね?
やるとしたら.htaccessいじるしかないのでしょうか