You can get advantage over engine only when you lead in space & development.
anti-computer openings
You run into tactical difficulties playing against stockfish? You dont say? I beat stockfish almost every time! Except one time where I stalemated stockfish while trying to checkmate with a queen. What a shame.
Hippo and King's Indian do well against engines. The goal is to shut down everything and prevent pawn breaks and opening of the position.