It is possible that some viruses have appeared in this way, though not very likely.
A large part of the viruses (if not all) appears to have an ancestor that was significantly further in the past than the common ancestor of all present cellular life forms, so they are much more distantly related to us than any bacteria.
While a part of the viral genomes has this distinct origin, many viruses have combined with various pieces of nucleic acids extracted from their hosts, so these can be considered hybrids that include fragments of DNA or RNA of various origins, possibly even human DNA for some.
A large part of the viruses (if not all) appears to have an ancestor that was significantly further in the past than the common ancestor of all present cellular life forms, so they are much more distantly related to us than any bacteria.
While a part of the viral genomes has this distinct origin, many viruses have combined with various pieces of nucleic acids extracted from their hosts, so these can be considered hybrids that include fragments of DNA or RNA of various origins, possibly even human DNA for some.