Yes, Users Flow works with Matomo (Piwik) Intranet Analytics when you self host Matomo on premise.