Database

[{"my_arr":[{id:ObjectId("618f7ef057c2923be10d1111")/**other stuff*/},{},{},]}]

Query

db.collection.aggregate([{"$addFields":{"my_arr":{"$filter":{"input":"$my_arr","as":"a","cond":{"$ne":["$$a",{}]}}}}}])

Result