oOo.. it's the exhaust resonator. Yeah, it's about the same size as the muffler but a tad smaller right?
Bout your question, yes you can remove it and replace it with piping, but it would be louder. You are getting a new muffler or exhaust system right b/c just removing the resonator would just be pointless? I dunno it's up to you mang.