Hollow solid object keeping all faces

Yes it’s possible.

  1. Make B copy of body A.
  2. Shell removing outer face of body A
  3. Shell removing inner face of body B
  4. Unite bodies A and B