This is just a small hack to make your macOS Dock more organized and clean. With the following terminal command you can get an app icon in your dock without an app icon:
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}' killall Dock
After that you can move the empty icon as it fits best.