Hello srimedha anne,
Welcome to the MS Q&A platform.
Yes, you can revert back the deployed code to ADF through DevOps Release pipeline.
To do this, you need to re-deployed the release pipeline, which has the version1(with 10 ADF pipelines)
Ex:
In the screenshot below, to revert the changes back to Release-11(previously deployed release-12), click on view release(using more options), and hover on the stages; then, we will see the re-deploy option.
Click on "re-deploy" to revert the changes back to the previous release.
Please note: When you re-deploy the previous release, the release pipeline won't delete the existing pipelines, but it overwrites the current pipelines.
I hope this helps. Please let me know if you have any further questions.