It is not! It's a very similar idea and can typically be used in the same way. The bain-marie is a bowl that sits in the water underneath it, whereas, in a double boiler, the top portion is never actually touching the water underneath, but instead uses steam.