Would a v8 trans am engine fit in a v6 firebird?

yes, you just need to get new V8 engine mounts welded on the frame and have the old V6 ones cut out.

you will also need a new fan shrowd and if its going form a chevy v6 to a pontiac v8 you will need a new wire harness new battry tray.