I have been growing a pineapple in my house. Maybe for 5-6 years. Now my pineapple is too tall and sharp. Unfortunately I can not grow it in outside. So I wanna cut it for safety. Can I cut my pineapple leaves? I really worry. Will it die, after I cut it.
Yes, you can cut your leaves without the plant dying. Pruning pineapple plants is common for the very reason you're describing. If you have fruit growing (which it doesn't look like you do), then you would wait 1-2 months until after harvesting it.
Here's a link that describes the pruning in more detail- https://homeguides.sfgate.com/times-prune-pineapples-guavas-33717.html