How to pick a gradient?

Hi. Can I pick a gradient for color ramp from image like in substance designer?

Not exactly the same functionality but close enough:

Thank you! It might be useful.