If I buy something from the online gift registry, is it possible that someone else buys the same product?

No, the gift registry will be updated automatically every time a product is purchased, leaving only those gifts that have not yet been selected.