Short answer
Yes, but not as a central figure. Vishnu is not a major character in the earliest Pali texts. He appears more often in later art and local traditions, especially in Sri Lanka. Buddhist teaching places liberation in the Buddha’s path, not in any god, including Vishnu.
Early texts
The early Pali discourses mention many deities. Sakka (Indra) and Brahma appear most often. They usually appear as listeners or questioners, and they are presented as respectful of the awakened Buddha. Vishnu is not a prominent figure in these texts.
Sri Lanka and the protector deity
The clearest example comes from Sri Lankan Buddhism. A deity linked with Vishnu, often called Upulvan, is honored there as a protector. Many Sri Lankan Buddhists regard him as subordinate to the Buddha. People ask him for protection, not for liberation. Scholars often link him to older local deities as well as to Vishnu, so the figure has more than one source.
Art and temple imagery
Some temple art shows Vishnu as an attendant of the Buddha. A commonly cited example is the Gal Vihara complex at Polonnaruwa in Sri Lanka. An image like this shows that Vishnu had a recognized place in some Buddhist settings, but it does not mean the Buddha taught that Vishnu is a source of salvation.
The Hindu view of the Buddha
In many Hindu traditions, the Buddha is counted among the avatars of Vishnu. Buddhist traditions do not share this view. The relationship runs in both directions, and the two traditions have shared art, places and ideas for centuries.
Similar questions come up about other Hindu deities. Readers who ask “Do Buddhists believe in Lord Shiva?” will find the same pattern: Hindu figures can appear in Buddhist settings without being central to the teaching.
Background also helps. Readers who ask why did Buddha reject the Vedas will find that the Buddha criticized some Vedic rituals and claims of priestly authority, which is part of why the early texts treat these deities as secondary.