Is it possible to trim some encrypted values under fully homomorphic encryption
As long as you can design a circuit to do it, then yes. There are a few ways to do this. One is to build a sorting network and output the highest $N-M$ values.