Can i use a "Image texture" node as a "colorramp" node?
Sure.  If you have an image describing some gradient, you can use a texture lookup in the exact same way you'd use a colorramp:

This technique is actually pretty common with some old game techniques.