Yes, these are two interchangeable ways of saying the same thing. There is just a slight grammatical difference. The first uses a relative clause — “(that) I did” — to modify the noun “mistakes.” The second uses the comparative word “as” to accomplish the same meaning.