John 14:12-14 New Living Translation (NLT)
12 “I tell you the truth, anyone who believes in me will do the same works I have done, and even greater works, because I am going to be with the Father. 13 You can ask for anything in my name, and I will do it so that the Son can bring glory to the Father. 14 Yes, ask me for anything in my name, and I will do it!
This is a great promise. HOWEVER, we have to take it in context of this chapter as well as the entire New Testament. Chapter 14 is part of Jesus’ final words to his disciples before his crucifixion. There are words of instruction and comfort here, and it is in this chapter Jesus promises the Holy Spirit.
We can go to the Father and we can ask anything in the name of Jesus. But keep in mind, will the answered prayer bring glory to the Father.