When we are on our deathbed we have to say our shahada but I want to know if saying Ya Ali instead is okay or correct because our religion revolve around the ahlulbayt and they hold a big and important role in Islam shiism

It has been recommended by the Prophet and his household (as) to say the shahadatayn on our death beds and then to reaffirm our beliefs and believing in the wilayat is one of our beliefs.