No, by my father. The Messenger of Allah ﷺ said: “Stop it! whoever swears by anything other than Allah has committed an act of shirk.ʿ (Using translation from Aḥmad 329)
رَسُولُ اللَّهِ ﷺ «لَا تَحْلِفُوا بِآبَائِكُمْ مَنْ حَلَفَ بِشَيْءٍ دُونَ اللَّهِ فَقَدْ أَشْرَكَ»