No, the majority scholarly view is that you need a wali to get married. Imam Abu Haneefah said: “If the hadeeth is saheeh then that is my madhhab.” And had he access to the hadith stating there is no marriage without a wali, he too would have made the same ruling. Not only that but all four imams said if you find something in the Sunnah contrary to what I said then ignore what I said, and yet lot of these people who follow these madhabs blindly, continue to follow it.
Prophet (peace and blessings of Allaah be upon him): “There is no marriage without a wali.” Narrated by Abu Dawood (2085), al-Tirmidhi (1101) and Ibn Majaah (1881) from the hadeeth of Abu Moosa al-Ash’ari; classed as saheeh by al-Albaani in Saheeh al-Tirmidhi.
And he (peace and blessings of Allaah be upon him) said: “There is no marriage except with a wali and two witnesses of good character.” Narrated by al-Bayhaqi from the hadeeth of ‘Imraan and ‘Aa’ishah; classed as saheeh by al-Albaani in Saheeh al-Jaami’ 7557.
And he (peace and blessings of Allaah be upon him) said: “Any woman who gets married without the permission of her guardian, her marriage is invalid, her marriage is invalid, her marriage is invalid. But if the marriage is consummated then the mahr is hers because she has allowed him to be intimate with her. If they dispute, then the ruler is the guardian of the one who has no guardian.” Narrated by Ahmad (24417), Abu Dawood (2083) and al-Tirmidhi (1102); classed as saheeh by al-Albaani in Saheeh al-Jaami’ no. 2709.
----------
The Hanafi madhhab is one of the four well-known madhhabs, and it was the first of the fiqhi madhhabs. It was said that “The people are dependent on Abu Haneefah with regard to fiqh.” The origin of the Hanafi madhhab and all the other madhhabs is that these four imams – I mean Abu Haneefah, Maalik, al-Shaafa’i and Ahmad – made the effort to understand the evidence of the Qur’aan and Sunnah, and they issued fatwas to people based on the evidence that had reached them. Then the followers of these imams took their fatwas and conveyed them and issued other fatwas based on them, and derived principles from them, and they set out guidelines for understanding the texts and reaching conclusions. Thus the fiqhi madhhab was formed, and the Hanafi, Shaafa’i, Maaliki and Hanbali madhhabs, and other madhhabs such as those of al-Awzaa’i and Sufyaan, but these latter madhhabs were not destined to continue.
If it is said: If the four madhhabs are based on the Qur’aan and Sunnah, why do we find differences of opinion between them on matters of fiqh?
The answer is: Each imam issued fatwas on the basis of the evidence that reached him. A hadeeth may have reached Imam Maalik on the basis of which he issued fatwas, that did not reach Abu Haneefah, so he issued fatwas stating something different, and vice versa. Similarly a hadeeth may have reached Abu Haneefah with a saheeh isnaad so he issued fatwas on that basis, and the same hadeeth may have reached Imam al-Shaafa’i with a different isnaad that was da’eef (weak), so he did not issue fatwas based on it, or he may have issued a fatwa saying something that went against the hadeeth based on the conclusion he reached. This is why differences arose among the scholars, but ultimately the point of reference is the Qur’aan and Sunnah.
In fact, Imam Abu Haneefah and other imams followed the texts of the Qur’aan and Sunnah, even if some of their fatwas were not based on that, the reason being that all four imams stated that if a hadeeth was saheeh, then that was their madhhab, that is what they followed, on what they based their fatwas and from what they derived their evidence.
Imam Maalik (may Allaah have mercy on him) said: “I am only human, sometimes I make mistakes and sometimes I get things right. Look at my opinion and whatever is in accordance with the Qur’aan and Sunnah, take it, and whatever is not in accordance with the Qur’aan and Sunnah, ignore it.” And he said: “There is no one after the Prophet (peace and blessings of Allaah be upon him) whose words cannot be taken or left, apart from the Prophet (peace and blessings of Allaah be upon him).”
Imam al-Shaafa’i (may Allaah have mercy on him) said: “There is no one who will not be unaware of some of the Sunnah of the Messenger of Allaah (peace and blessings of Allaah be upon him). Whatever I say or whatever guidelines I establish, if there is a report from the Messenger of Allaah (peace and blessings of Allaah be upon him) which is different to what I said, then what matters is what the Messenger of Allaah (peace and blessings of Allaah be upon him) said, and that is my opinion.”
Imam Ahmad said: “Do not follow me blindly and do not follow Maalik or al-Shaafa’i or al-Awzaa’i or al-Thawri blindly. Learn from where they learned.” And he said: “The opinion of al-Awzaa’i and the opinion of Maalik and the opinion of Abu Haneefah are all mere conjecture and it is all the same to me. Rather evidence is to be found in the reports – i.e., in the shar’i evidence.”
https://islamqa.info/en/95405