Spin Polarization and Flat Bands in Eu-Doped Nanoporous and Twisted Bilayer Graphenes