Did women work as nurses during the civil war?

They weren't supposed to. but one girl named Clara Barton sunk in in a discise as a guy.