Anything Goes? A Crosslinguistic Study of (Im)possible Language Learning in LMs