No Hernanes couldn't play in Pirlo position. It is the same as force for example Zidane to play above defenders. Pirlo is a defending midfielder with excelent vision of field, pass and shoot, which makes him so genuine. Hernanes is trequartista, like Diego. And if he has splendid technique and so on, it doesn't mean he will be good in defence.