Yes you can do that but you will learn with time an evap code can in no was cause a cam sensor code. So don't put too much energy into your testing, trust me, with nearly 30 years as a service manager, I know what the codes mean and what triggers them.
Now, if you clear the code and it does go away, then it will come back.
Let us know how it turns out.