An alliance with the Congress is possible in the next Lok Sabha polls if Samajwadi Party leader Mulayam Singh is declared the prime ministerial candidate and Congress leader Rahul Gandhi his deputy, Uttar Pradesh chief minister Akhilesh Yadav said on Friday.