The idioms have different meanings. Both of them have meanings that are similar to relax, yes. I would have to see a specific sentence before I said that either was appropriately synonymous, however.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.