This might be the CRAZIEST THING that's ever happened to Bam Margera
... and that's saying a lot -- the "Jackass
" star claims a naked chick broke into his house last night while he was sleeping ... and started masturbating on his bedroom floor.
According to law enforcement sources, Bam told police the 24-year-old woman woke him up in his Pennsylvania home by kissing him -- completely in the buff -- and Bam freaked ... throwing the girl off him and dialing 911.
And here's where it gets really insane -- according to law enforcement sources, while Bam was on the phone with cops, he claims the girl dropped to the floor and started to masturbate.
After Bam hung up, we're told he kicked the girl out of his house -- still completely naked.
West Chester police tell TMZ, they arrested her nakedness in the rural area surrounding Bam's mansion.
According to the criminal complaint, she faces charges of burglary, criminal trespass, and stalking.