Hello Arrigo,
From what I understood, you have a fixed ellipsoid, which you are allowed to (1) scale, and (2) rotate. The constraint is that the resulting ellipsoid must be included inside a given convex polytope, and the goal is to maximize the volume of the resulting ellipsoid.
Assuming the center of the ellipsoid is strictly included in the polytope, based on your latest message, we should be able to define a function like so:
For any rotation R in SO(d),
f(R) = the maximum scaling factor by which we can inflate the reference ellipsoid and still be included in the polytope.
Since the corresponding volume is an increasing function of f(R), it is equivalent to maximize f(R) or the volume associated to orientation R and scaling f(R).
The function f(R), I expect, will be nonsmooth, but might not be too hard to compute. I expect it should be possible to compute it exactly, but worst-case scenario, a bisection method would do the trick.
Then, to maximize f(R) over SO(d) in Manopt, you could use one of the derivative-free solvers such as pso or neldermead. These tend not to be particularly efficient, but since the cost function here is nonsmooth and getting its derivatives will be challenging, that's your best first bet. For rotation groups in low dimension (small d), this should be fine, depending on how fast things have to be.
By the way, this approach is fairly similar to this paper about bounding boxes:
Fast oriented bounding box optimization on the rotation group
SO(3, R)
CHIA-TCHE CHANG, BASTIEN GORISSEN and SAMUEL MELCHIOR
Technical note: manopt minimizes always, so to maximize f(R), minimize -f(R).
(As a side note: I would expect that convexity already broke from the fact that you are maximizing (rather than minimizing) a volume.)