I think we all know the answer to this question. NO. NEVER. If the song does not contain a guitar solo then it should not be played anywhere, least of all in a pub!!!
I'm not a avid techno fan as such but if it's want the punters want then why not. Ultimately depends on the kind of clientele the pub wants to attract though.