No sir, not joking. Sure you can keep all the variables the same! Put the camera on a tripod. Shoot down a hallway. Use a stationary target. Use some basic measuring equipment. Light with strobes if necessary.
No, you changed the sensor size. That's a big deal, a new game then. You cannot just ignore it. You surely don't imagine tiny compact camera sensors are the equal of full frame DSLR sensors?
I spent a career doing engineering, mechanical, electrical and software. If you want to understand a system, keep everything the same except what you want to study. Then see the effect of that change. That is a pretty standard method of dealing with complicated systems. I'm sure you even use that method yourself sometimes when setting up strobe lighting? Set the first light, get it the way you want. Turn off that light, set the next light get it the way you want. Repeat for the other lights. Once they are all set, turn the lights back on and take your photo. Sound familiar?
Who didn't?

But we do have a tendency to imagine our own solutions, imagine how it "ought" to work, making up how we would have done it, and then trying to tell everyone how it actually works that way. Not always true though, esp in an unknown field, but you can learn to break that habit.

First step is to think back "how am I certain this is true?".
You're overlooking a major variable, sensor size. Just a little bit of of study can make it very clear, this stuff is all very well known. You just have not started learning yet. You are still imagining your own solutions, which are rather incomplete.
When I got my first dSLR it was a 30D, and I was told the smaller sensor size would increase the effective length of the lens! At the same time, I was shown an Olympus that had a crop factor of 2, so it was supposed to make a 200 mm lens look like 400 mm! If you don't worry about framing and instead you look at each photo at 100%, you see what nonsense that is.
Of course the lens cannot and does not change by just putting it on some camera body. No one thinks the lens changes.
But the cropped sensor does crop that lens view, it only sees a smaller cropped view. With the same lens at same distance, the cropped sensor only sees a narrow view, same view as the uncropped sensor would see with a lens longer by the crop factor.... 1.5x or 1.6x longer focal length. This view comparison is so that users familiar with 35 mm film (It was very popular for more than 50 years), know what the contraption is going to do. This crop factor is called Equivalent Focal Length, and it describes the cropped view, as relative to the uncropped, only important because it compares to the old familiar 35mm film sensor size. Then old timer 35mm film users know what a 100 mm lens does on a cropped sensor... the cropped view it sees mimics a 1.5x or 1.6x longer lens on the uncropped sensor. And it does mimic a telephoto view (if as seen on uncropped). Any cropping (any image, any time later in a photo editor) shows this same telephoto effect when enlarged back to same size. It's all well known.
Different film sizes worked exactly the same way too - It was all well understood way back then too. However it was uncommon to be able to use the SAME lens on different film sizes (we could at least try in darkroom enlargers). But it is why film sizes normal lens focal length varied with their film diagonal dimension. Equivalent focal length concept. Same thing. Same thing with DOF too. Smaller film size has greater DOF (but less effective resolution when enlarged more).. Remember Ansel Adams 1930s F/64 Group? This was trying to get sharper images on the 8x10 film size. This has all been well known for many decades. Digital is about the only thing new. Newcomers have to get up to speed with the facts first though.
An 8 X 10 may make a degree of sense when dealing with portraits. It may also make some sense if you have a full frame Nikon and and APS-C Nikon and both have the same number of pixels. As you move to other brands and newer models, pixel counts are all over the map, as are photo site sizes. Cropping may also nullify the 8 X 10 argument. The point remains that while you may use an APS-C body differently than a full frame body, any change in DOF from the sensor itself will be extremely small or non-existent, while changes in DOF from moving closer or further away will be noticeable. Not everyone limits their photography to portraits and understanding what is really affecting your photos, and why, can be quite useful.
It makes full sense to anyone that learns the actual facts instead of making up their own notions.
It is NOT at all about pixels. Pixels merely attempt to digitally reproduce the analog lens image. The best job pixel resolution can do is to reproduce the lens image resolution well (pixels cannot make it better, or even as good - even if we ignore Bayer, there is Nyquist, etc). The overall concept is about the analog lens image projected onto the sensor, which we hope to copy well. Cropping makes that source image smaller, which then requires more enlargement to appear equal again, and we all know enlargement is a resolution disadvantage. Variable CoC with sensor size accounts for that, and affects DOF.
And DOF is certainly Not an inherent property just of the lens as you imagine. Focal length, aperture, and subject distance are factors,
as is sensor size and the subsequent enlargement necessary to see it. Cropped sensors require more enlargement to compare at same size. DOF details have been known for at least 100 years.
It is really not a Day One subject for the newbies however.
The issue is that you're simply believing your own wrong assumptions (imagining DOF must only be about the lens). It just proves you have done no study. You really need to do a bit of study about how things work if you're going to try to explain how things work. It becomes pretty funny publicly otherwise. This stuff is all very widely known.