i’m in my third year of but (bachelor universitaire de technologie), can i enter ensai directly in my second year?

No, admission after a BUT is only possible in the first year.