Yes Ranunculus (Buttercup) and Potentilla (Cinquefoil) can be very similar, especially in this case there is only bloom image, without clear details such as stamen, leaves or other parts.
in this case, I am inclined to potentilla based on sepals
Potentilla are member of Rosaceae and many of them have prominent sepals. sometime larger than the petals, green and often hairy
Ranunculus and many Ranunculaceae member usually not. Sepals mostly smaller than petals, often hidden behind petals, less hairy, and sometimes colored