You can’t apply the miraculous test that Elijah performed on Mt Carmel to today, in the sense that it would be ok for just anyone to perform this sort of test today.
Elijah was a very, very holy, righteous prophet that God used in miraculous ways as a witness to the people back then. Also, God wanted this test to occur:
1 After a long time, in the third year, the word of the Lord came to Elijah: “Go and present yourself to Ahab, and I will send rain on the land.” 2 So Elijah went to present himself to Ahab. 1 Kings 18:1-2
Elijah didn’t just get up one day and think that it would be a great thing to expose himself to King Ahab and test the prophets of Baal. He had been in hiding for three years and was numero uno on Ahab’s hit list.
He performed all his miracles under the guidance and inspiration of the Holy Spirit, and obviously it was God working through him during the test on the Mt Carmel.
Jesus told us not to tempt God. He’s not a dancing monkey that does tricks. It wouldn’t be right to try something like what you suggested, OP, unless you were as intimate with God as Elijah was, and the Holy Spirit was guiding you in the same way. And that is highly unlikely.