First, my dear brother / sister, I ask Allah to make it easy for you and to reward you for your effort and to accept it, ameen.
As you yourself know Allah has made the salah obligatory and there are only few excuses for it.
Before I answer your question though, I will first mention something very important. Shaytan will do every possible thing to tell you that you do something wrong or to bring you away from salaah. He is the one who refused to do sujood so his task is now to use all means to make us like him.
I ask Allah to protect us, ameen.
What I would advice you is to try your best to do the salah no matter what happens, but here is a good news for you:
قَالَ النَّبِيُّ صلى الله عليه وسلم " يَسِّرُوا وَلاَ تُعَسِّرُوا، وَسَكِّنُوا وَلاَ تُنَفِّرُوا
Narrated Anas bin Malik: The Prophet (ﷺ) said, "Make things easy for the people, and do not make it difficult for them, and make them calm (with glad tidings) and do not repulse (them ).
Sahih al-Bukhari 6125
What you can do is, do only the obligatory parts of Salah, and if shaytan should whisper you say:
a'udhu billahi mina sh-shaytani ar-rajeem
and dry spit on your right 3 times, if you forget something in salaah, then persform sujood as sahw: you do additional 2 sujoods before you do the tasleem in the end of salah, if you forget those 2 sujoods before tasleem do them after
If you should not be sure if you prayed 1-2 rakah pray one more and continue salah normally and before saying tasleem do additional 2 sujoods.
Giving up on salah is no solution, just try your best t do it and Allah is Forgiving and Most merciful and Allah will reward you for your effort. Do the best you can, but do not give up, I am sure you are strong and do not let Shaytan win, you will succeed just ask Allah for help in shaa Allah.
I hope my answer will help you in shaa Allah and in case you need the evidence for my answer about sujood as sahw I will send it to you.