It's possible:
1. Work out which part of the Shadertoy is the actual distance function.
2. Convert that from GLSL to HLSL
3. Figure out what other rendering tricks are used (ambient occlusion, fog, whatever) and decide if they are worth trying to port.
(3) is probably the hardest. If all you want is the "geometry" (so to speak) then it's doable once you understand the structure of the Shadertoy. Step (2) is usually fairly easy and gets easier when you get more used to the syntax differences.