Yes, playing a PSP during school hours is generally a bad idea.
Talk to the teacher: "Can I have extension work?" "Can I help tutor?" "Is there a computer lab pass?" Boredom signals *under-challenge*—fix the input, not the escape.
PSP at school = high risk, zero reward. Play at home. Focus on school now so you *can* play guilt-free later.