Answer
The answer is no. Although having some initial successes against the Ottomans, and even retaking some territories such as Gyula or Tata in the 1560s, ultimately Maximilian failed in evicting the Ottoman forces from Hungary. The Ottoman Empire remained in control of most of central Hungary including the capital, Buda, until the late 17th century.