>>12137628A Dyson Swarm or Dyson Statites would be much more feasible, especially if making a Nichol-Dyson Beam Deathstar or a static Class B Stellar Engine for raw energy intake. But a D Sphere entity like a Shakdov Engine would need significantly more mass than all the mass in any single solar system around its parent star and then some.
It would be completely counterintuitive, save for creating a reverse computing capable Matrioshka Brain around a pre-supernova giant, that was also connected to several Krasnikov Tubes which led to neutron stars we could harness and manufacture nuclear pasta from. Otherwise, it'd be dumb.