Yes, you do not need to be able to swim to try a resort dive with an instructor. Your diving gear keeps you buoyant in the water.
See resort diving