This has very little to do with Biblical religion so much as medieval thought, e.g. the Lesser Key of Solomon/Ars Goetia? Because some of them have explanations that are, if not benevolent, at least not complete jerks. I understand some of this is when you have them under your command, not when you’re in their realm of hell. E.g. (not a complete list):
Buer: “He teaches Natural and Moral Philosophy, Logic, and the virtues of all herbs and plants, and is also capable of healing all infirmities (especially of men) and bestows good familiars.”
Marchosias (somewhat): “He is a strong fighter and gives true answers to all questions, and is very faithful to the magician in following his commands. Before his fall he belonged to the angelic order of Dominations (or Dominions), and when he was bound by Solomon he told him that after 1,200 years he hoped to return to Heaven (“unto the Seventh Throne”).”
Could I at least have a beer with one of these demons, and hope that they’ll pay their share?
It would depend which belief system you subscribed to. If you were a mainstream Christian, subscribing to the theology of the Catholic or Orthodox Church, or later on, to any of the vast majority of the protestant denominations, then no, there were no good demons, by definition. If a spirit was good, it was an angel, if bad, a demon. (I imagine something similar applies in the Islamic faith too.) On the other hand, if you subscribed to some more heterodox, occultist, religious philosophy, such as some forms of hermeticism, there might be good or goodish demons. Occultist belief systems never had many followers, at least not after Constantine’s time, but they had some. Treating a demon as good was a way of expressing opposition to the mainstream religion, and perhaps of incorporating aspects of other religions into your personal world view.
If you weren’t in the Abrahamic religious tradition at all, things were different. Socrates’ daimon seems to have been essentially good, for instance.
Demons really became evil because of Christianity’s need to claim the exclusive rights on goodness and real power for its own God. The mostly good gods and lesser powers of the other religions that Christianity displaced or engulfed either had to not exit at all, or they were rebranded as evil demons.
From what I’ve seen of summoning lists and the like, many would do useful or beneficial things if you propitiated them correctly. Some would do things for a bite of chocolate or candy, or things like leaving a green sprig in the snow for them.
I’m not going to posture as some sort of Islamic Theology expert, but I don’t think Islam has the same sort of notion. As far as I know, in Islamic Theology, there are three types of beings: djinn, humans, and angels. Humans are made of the earth/clay, and have the free will to follow or disobey God. Angels are made of light, and are compelled to follow the will of God.
Djinn would seem to be the counterpoint and would be compelled to do evil, but no, they’re made of smokeless fire, and have free will to do good or evil just like humans. Now, the class of djinn known as ifrit and mr “Islamic Satan” Iblis are more demonish and considered evil infernal ne’er-do-'ells, but hey, the Nazis aren’t too great either.
The Archangel Samael, traditionally known as the Angel of Death/Destruction, is sometimes categorized as a demon prince who nevertheless does God’s bidding.