Changing texture for dirt path

Is there a way to make a block act as a dirt path without replacing the actual texture of the dirt path, I have a custom dirt path texture but want to keep the original one as well so I'm here to ask If there's a way of actually doing that for Java 1.21.4

Continue to help post