Can a style be inside your eyelid?

Yes, it can. You probably mean stye and yes, it can. In fact it usually is inside the lid. Apply warm compresses as often as you think about it to encourage it to drain, and see a clinic or provider if it doesn't get better soon.