Possible, but as others have said, you'll need to have taken at least the core engineering classes in whatever discipline you want to go into and do really well in them (e.g., above 3.5 GPA). Depending on how good the grad school you're applying to is, you might have a hard time getting in. I'm assuming you're talking an MS program, not PhD.