Just increase your time estimate,
calculate in the time needed to refactor,
but don't tell them you're gonna refactor.
Works out most of the time.
Only when they ask why the estimate is so long, then you explain your reasoning behind it, and then they might reply with your statement and block your refactoring idea.
However, getting time to refactor most of the time, is aleady way better then never being allowed to do so.