In principle, sure, but I don't think it's a meaningful question because the contexts around Islam and Buddhism could not be more different, at least in online Western culture, which HN is part of. If an article appeared with that title, it would already be written for a completely different reason. You can't take such a title as an abstraction and perform substitutions on it and get meaningful results.
Edit: I suppose I should clarify one more bit. For HN we would decide this based not on the title, but rather on the article—whether or not it can support an intellectually curious conversation without devolving into flamewar, as the site mandate calls for (https://news.ycombinator.com/newsguidelines.html). My take on the OP was "yes it can", although we're starting to see religious flamelets eating into the margins even in this thread.
If you read a bit about Islam’s encounter with Indian religions (Al-Biruni, Shahristani, Derryl MacLean), you’ll see it’s a bit more complicated than that. Islamic converts in Sindh came primarily at first from the predominantly Buddhist regions. In the Hacker News context I do agree with dang though.