As noted in the other answer, any knot embeds into a genus 2 surface. However, as you clarify in the comments, it seems that you mean the notion of embedding into a genus 2 Heegaard surface, which is much more restrictive.
There are two possible cases: the knot is separating or non-separating on the genus 2 surface. If the knot is separating, then it has Seifert genus 1, and hence its Alexander polynomial will have degree 2. I’m not sure if this case has been investigated, but there exists an algorithm to determine if such a knot is of this type. Certainly at the very least it must have Seifert genus 1 which is computable via normal surface theory (Haken gave an algorithm). What is needed is a knot that has two genus 1 Seifert surfaces that decompose the knot complement into two handle bodies. One may modify Haken’s algorithm to handle this case as well, although I don’t know if it could be done in practice. The program Regina can handle normal surfaces well.
The second case is that the knot is non-separating. Special classes of these knots appear in the Dehn surgery literature, such as twisted torus knots. This knot will be strongly invertible: the hyperelliptic involution of the genus two surface extends over each handlebody and preserving the knot, flipping the knot over.
Now consider the Heegaard surface in the knot exterior. This will be a genus 1 surface with two boundary components of integral slope. If the surface is compressible in the knot complement, then compression gives a knot lying on a torus. Moreover this torus is a tubular neighborhood of a tunnel number one knot. Thus the knot is a cable of a tunnel number 1 knot (it might be tunnel number one itself). I think conversely that a cable of a tunnel number 1 knot will lie on a genus 2 Heegaard splitting. There are normal/almost normal surface algorithms to compute if a knot is a cable knot and to compute the tunnel number, so this case is algorithmic.
If the surface is incompressible in the knot complement, then there are normal surface algorithms to enumerate such surfaces. Moreover again one may determine if the complements are handlebodies. So in summary there exist algorithms, although I don’t know if these are written up in the literature.