Is it possible to modify the mqtt topic?

Hi, wanna ask is it possible that we modify the MQTT topic?

example like the original MQTT topic is application/{{ .ApplicationID }}/device/ to application/{{ .ApplicationID }}/{{ .LocationID }}/device/.