Yes, many Solitaire online versions provide an 'undo' option that allows you to revert your moves.